package com.chris.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chris.blog.entity.po.UserInfoPO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoDao extends BaseMapper<UserInfoPO> {
    /**
     * insert record to table
     *
     * @param record the record
     * @return insert count
     */
    int insert(UserInfoPO record);

    /**
     * insert record to table selective
     *
     * @param record the record
     * @return insert count
     */
    int insertSelective(UserInfoPO record);

    UserInfoPO selectInfoByUid(String uid);

    void updateByUid(UserInfoPO userInfoPO);

}